﻿#ifndef DATABASEOPREATE_H
#define DATABASEOPREATE_H

#include <QDialog>

namespace Ui {
class DatabaseOpreate;
}

class DatabaseOpreate : public QDialog
{
    Q_OBJECT

public:
    explicit DatabaseOpreate(QWidget *parent = nullptr);
    ~DatabaseOpreate();
signals:
    void sendNewData( QString&Chinese, QString &English, QString &WordClass );
private:
    Ui::DatabaseOpreate *ui;
    QString Chinese;
    QString English;
    QString WordClass;
public slots:
    void updata_title( QString &str );
private slots:
    void on_cannelBtn_clicked();
    void on_EnterBtn_clicked();
public slots:
    void addFinishTrips( bool is );
};

#endif // DATABASEOPREATE_H
